﻿namespace MhAdmin.System;

/// <summary>
/// 规则日志服务
/// </summary>
public interface IRulesLogService : ITransient
{
    #region 查询

    /// <summary>
    /// 规则日志分页查询
    /// </summary>
    /// <param name="input">查询参数</param>
    /// <returns>规则日志分页</returns>
    Task<SqlSugarPagedList<RulesLogPageOutput>> Page(RulesLogPageInput input);

    /// <summary>
    /// 规则日志列表查询
    /// </summary>
    /// <param name="input">查询参数</param>
    /// <returns>规则日志列表</returns>
    Task<List<RulesLogPageOutput>> List(RulesLogPageInput input);

    /// <summary>
    /// 规则日志详情
    /// </summary>
    /// <param name="input">Id参数</param>
    /// <returns>详细信息</returns>
    Task<DevRulesLog> Detail(BaseIdInput input);

    #endregion 查询

    #region 新增

    /// <summary>
    /// 添加规则日志
    /// </summary>
    /// <param name="input">添加参数</param>
    /// <returns></returns>
    Task Add(RulesLogAddInput input);

    #endregion 新增

    #region 编辑

    /// <summary>
    /// 修改规则日志
    /// </summary>
    /// <param name="input">编辑参数</param>
    /// <returns></returns>
    Task Edit(RulesLogEditInput input);

    #endregion 编辑

    #region 删除

    /// <summary>
    /// 删除规则日志
    /// </summary>
    /// <param name="input">删除参数</param>
    /// <returns></returns>
    Task Delete(List<BaseIdInput> input);

    #endregion 删除
}
